import ReactDOM from "react-dom/client";
import resizeListener from "./utils/resize.ts";
resizeListener();
window.addEventListener("resize", resizeListener);
import App from "./App.tsx";
import "./index.css";
import store from "./store/index.ts";
import { Provider } from "react-redux";
import { HashRouter as Router } from "react-router-dom";

ReactDOM.createRoot(document.getElementById("root")!).render(
    <Provider store={store}>
        <Router>
            <App />
        </Router>
    </Provider>
);
